<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="p" uri="/WEB-INF/tld/page.tld" %>
<table class="table table-striped table-bordered bootstrap-datatable responsive" id="distributor-table">
    <thead>
    <tr>
    	<th></th>
        <th>分销商名称</th>
        <th>所属地区</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${distributorPage.list }" var="distributor">
    <tr>
    	<td><input type="radio" name="distributorId" value="${distributor.distributorId }"></td>
        <td class="center">${distributor.name }</td>
        <td class="center">${distributor.province.name }-${distributor.city.name }</td>
    </tr>
    </c:forEach>
    </tbody>
</table>
<p:page pageNo="${distributorPage.pageNo }" totalPage="${distributorPage.totalPage }" 
	totalRow="${distributorPage.totalRow }"/>